[INFO] cloning repository https://github.com/birchling/multi-otsu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/birchling/multi-otsu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0349784df2784ea107b5c1c0021d260a55ec045f
[INFO] building birchling/multi-otsu against master#881c1ac408d93bb7adaa3a51dabab9266e82eee8 for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbirchling%2Fmulti-otsu" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/birchling/multi-otsu on toolchain 881c1ac408d93bb7adaa3a51dabab9266e82eee8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/birchling/multi-otsu
[INFO] finished tweaking git repo https://github.com/birchling/multi-otsu
[INFO] tweaked toml for git repo https://github.com/birchling/multi-otsu written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/birchling/multi-otsu already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded gif v0.10.3
[INFO] [stderr]   Downloaded conv v0.3.3
[INFO] [stderr]   Downloaded png v0.15.2
[INFO] [stderr]   Downloaded hermit-abi v0.1.5
[INFO] [stderr]   Downloaded rulinalg v0.4.2
[INFO] [stderr]   Downloaded image v0.22.3
[INFO] [stderr]   Downloaded num_cpus v1.11.1
[INFO] [stderr]   Downloaded crossbeam-queue v0.2.0
[INFO] [stderr]   Downloaded tiff v0.3.1
[INFO] [stderr]   Downloaded rayon v1.2.1
[INFO] [stderr]   Downloaded custom_derive v0.1.7
[INFO] [stderr]   Downloaded rayon-core v1.6.1
[INFO] [stderr]   Downloaded imageproc v0.19.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 38f6b0fd408d6657c36f6e703416ce643f164b1e1da17890f28ac6145a4f39b1
[INFO] running `Command { std: "docker" "start" "-a" "38f6b0fd408d6657c36f6e703416ce643f164b1e1da17890f28ac6145a4f39b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "38f6b0fd408d6657c36f6e703416ce643f164b1e1da17890f28ac6145a4f39b1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38f6b0fd408d6657c36f6e703416ce643f164b1e1da17890f28ac6145a4f39b1", kill_on_drop: false }`
[INFO] [stdout] 38f6b0fd408d6657c36f6e703416ce643f164b1e1da17890f28ac6145a4f39b1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+881c1ac408d93bb7adaa3a51dabab9266e82eee8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a806a0cff6f89607ad2ccec4273e003b453174c908d0c26266395c7d156297f1
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "a806a0cff6f89607ad2ccec4273e003b453174c908d0c26266395c7d156297f1", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling rayon-core v1.6.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling lzw v0.10.0
[INFO] [stderr]    Compiling color_quant v1.0.1
[INFO] [stderr]    Compiling custom_derive v0.1.7
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num_cpus v1.11.1
[INFO] [stderr]    Compiling ordered-float v1.0.2
[INFO] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling conv v0.3.3
[INFO] [stderr]    Compiling itertools v0.7.11
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling rulinalg v0.4.2
[INFO] [stderr]    Compiling inflate v0.4.5
[INFO] [stderr]    Compiling gif v0.10.3
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling crossbeam-queue v0.2.0
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling stb_truetype v0.3.1
[INFO] [stderr]    Compiling deflate v0.7.20
[INFO] [stderr]    Compiling rusttype v0.8.2
[INFO] [stderr]    Compiling png v0.15.2
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling rusttype v0.7.9
[INFO] [stderr]    Compiling rayon v1.2.1
[INFO] [stderr]    Compiling num-derive v0.2.5
[INFO] [stderr]    Compiling jpeg-decoder v0.1.18
[INFO] [stderr]    Compiling tiff v0.3.1
[INFO] [stderr]    Compiling image v0.22.3
[INFO] [stderr]    Compiling imageproc v0.19.2
[INFO] [stderr]    Compiling multi-otsu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0425]: cannot find function `histogram` in this scope
[INFO] [stdout]   --> src/main.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let hist = histogram(image);
[INFO] [stdout]    |                ^^^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  | use imageproc::stats::histogram;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope
[INFO] [stdout]   --> src/main.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             best_threshold = threshold as u8;
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `best_threshold` in this scope
[INFO] [stdout]   --> src/main.rs:60:5
[INFO] [stdout]    |
[INFO] [stdout] 60 |     best_threshold
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ help: a local variable with a similar name exists: `best_thresholds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Luma`
[INFO] [stdout]  --> src/main.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use image::{open, GrayImage, Luma};
[INFO] [stdout]   |                              ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `otsu_level`, `threshold`
[INFO] [stdout]  --> src/main.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 | use imageproc::contrast::{otsu_level, threshold};
[INFO] [stdout]   |                           ^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `multi-otsu`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "a806a0cff6f89607ad2ccec4273e003b453174c908d0c26266395c7d156297f1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a806a0cff6f89607ad2ccec4273e003b453174c908d0c26266395c7d156297f1", kill_on_drop: false }`
[INFO] [stdout] a806a0cff6f89607ad2ccec4273e003b453174c908d0c26266395c7d156297f1
